/*//处理文本截断
var cutone = document.getElementsByClassName('textcut1')[0];
var cuttwo = document.getElementsByClassName('textcut2');
var cont1 = cutone.innerHTML.slice(40)+'...';
	cutone.innerHTML = cont1;
	for(var i = 0; i<cuttwo.length;i++){
		var cont2 = cuttwo[i].innerHTML.slice(20)+'...';
	    cuttwo[i].innerHTML = cont2;
}*/

$(document).ready(function (){
    $('.search-wraper-nav .btnlvsuo').click(function () {
        $('.search-wraper-nav span i.yuanq1').css('backgroundColor','#F0831E');
        $('.search-wraper-nav span i.yuanq2').css('backgroundColor','transparent');
        $(this).addClass('acivity');
		$('#lvsuo').css('display','inline');
		$('#custom').css('display','none')
    });
    $('.search-wraper-nav .btncustom').click(function () {
        $('.search-wraper-nav span i.yuanq2').css('backgroundColor','#F0831E');
        $('.search-wraper-nav span i.yuanq1').css('backgroundColor','transparent');
        $(this).addClass('acivity');
		$('#custom').css('display','inline');
		$('#lvsuo').css('display','none');
    });
});